package com.ruoyi.client.pojo.form;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class UserRegisterForm {
    private long user_id;
    @NotEmpty(message = "用户名不能为空")
    private String username;
    private String password_hash;
    private String email;
    private String avatarUrl;  // 修改属性名以匹配Users实体类
    @NotEmpty(message = "手机号不能为空")
    private String phone;
}